#ifndef __SERIAL_H__
#define __SERIAL_H__
#ifdef __cplusplus
extern "C" {
#endif

#include <termios.h>

extern int serial_set_opt(int fd, int nSpeed, int nBits, char nEvent, int nStop);
extern int serial_open_port(char *com);

#ifdef __cplusplus
}
#endif
#endif